package com.yunchang.springboot.models.mwsreportbean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 亚马逊api获取盘库表
 * </p>
 *
 * @author sjd
 * @since 2020-08-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mws_inventory_adjustments")
@ApiModel(value="MwsInventoryAdjustmentsDO对象", description="亚马逊api获取盘库表")
public class MwsInventoryAdjustmentsDO extends Model<MwsInventoryAdjustmentsDO> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增id")
    private Long id;

    private String sellerId;

    private String area;

    @ApiModelProperty(value = "盘点日期")
    private String adjustedDate;

    @ApiModelProperty(value = "此商品盘点的唯一编号")
    private String transactionItemId;

    @ApiModelProperty(value = "亚马逊为其运营中心储存并配送的商品分配的唯一编码")
    private String fnsku;

    @ApiModelProperty(value = "库存单位 (SKU) 是由字母或数字组成、用于确认商品的唯一序列。由卖家分配 SKU。")
    private String sku;

    @ApiModelProperty(value = "商品的名称")
    private String productName;

    @ApiModelProperty(value = "正在盘点的运营中心")
    private String fulfillmentCenterId;

    @ApiModelProperty(value = "已盘点商品的数量")
    private Integer quantity;

    @ApiModelProperty(value = "原因")
    private String reason;

    @ApiModelProperty(value = "商品状态（例如：可售、残损等）")
    private String disposition;

    @ApiModelProperty(value = "已通过其他盘点事件调整的商品数量")
    private Integer reconciled;

    @ApiModelProperty(value = "未通过其他盘点事件进行调整的商品数量")
    private Integer unreconciled;

    @ApiModelProperty(value = "是否生成财务数据状态")
    private Integer financeStatus;

    private String createTime;

    private String updateTime;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
